@include('layouts.common_no_menu')

@section('css')
    <link rel="stylesheet" type="text/css" href="/css/main.css" />
@show

@section('content')
<body class="easyui-layout">
    <div id="loading" style="position:absolute;z-index:1000;top:0px;left:0px;width:100%;height:100%;background:url(/img/loding.png) no-repeat center center #DDDDDB;text-align :center;">
    </div>

    <div data-options="region:'north',border:false,split:false">
        <!-- begin of header -->
        <div class="header">
            <div class="dl-title">
                <a href="#">
                    <span class="lp-title-port">中供通内部管理系统</span>
                </a>
            </div>

            <div class="dl-log">欢迎您，<span class="dl-log-user">**.**@alibaba-inc.com</span><a href="#" id="editpass" title="修改密码" class="dl-log-quit">[修改密码]</a><a href="#" id="loginOut" title="退出系统" class="dl-log-quit">[安全退出]</a>
            </div>
        </div>
        <div class="dl-main-nav">
            <div class="dl-inform"><div class="dl-inform-title">贴心小秘书<s class="dl-inform-icon dl-up"></s></div></div>
            <ul id="J_Nav" class="nav-list ks-clear">
            </ul>
        </div>
    </div>
    <!-- end of header -->
    <!-- begin of sidebar -->
    <div id="J_Nav_Menu" class="wu-sidebar" data-options="region:'west',split:true,border:true,title:'导航菜单'">
    </div>
    <!-- end of sidebar -->
    <!-- begin of main -->
    <div id="J_Nav_Content" class="wu-main" data-options="region:'center',split:false">
    </div>
    <!-- end of main -->
    <!-- begin of footer -->
    <div class="wu-footer" data-options="region:'south',border:false,split:false">
        Copyright@2017-2018 中供通 All Rights Reserved
    </div>
    <!-- end of footer -->

    <!--修改密码窗口-->
    <div id="w" class="easyui-window" title="修改密码" collapsible="false" minimizable="false"
         maximizable="false" shadow="true" inline="true" resizable="false" icon="icon-save"  style="width: 300px; height: 160px; padding: 5px;
        background: #fafafa;">
        <div class="easyui-layout" fit="true">
            <div region="center" border="false" style="padding: 10px; background: #fff; border: 1px solid #ccc;">
                <table cellpadding=3>
                    <tr>
                        <td>新密码：</td>
                        <td><input id="txtNewPass" type="Password" class="txt01" /></td>
                    </tr>
                    <tr>
                        <td>确认密码：</td>
                        <td><input id="txtRePass" type="Password" class="txt01" /></td>
                    </tr>
                </table>
            </div>
            <div region="south" border="false" style="text-align: right; height: 30px; line-height: 30px;">
                <a id="btnEp" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)" >
                    确定</a> <a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">取消</a>
            </div>
        </div>
    </div>

    <!--tab菜单窗口-->
    <div id="mm" class="easyui-menu" style="width:150px;">
        <div id="mm-tabupdate">刷新</div>
        <div class="menu-sep"></div>
        <div id="mm-tabclose">关闭</div>
        <div id="mm-tabcloseall">全部关闭</div>
        <div id="mm-tabcloseother">除此之外全部关闭</div>
        <div class="menu-sep"></div>
        <div id="mm-tabcloseright">当前页右侧全部关闭</div>
        <div id="mm-tabcloseleft">当前页左侧全部关闭</div>
        <div class="menu-sep"></div>
        <div id="mm-exit">退出</div>
    </div>
</body>
@show

@section('js')
    <script type="text/javascript" src="/js/main.js"></script>
    <script>
        function closes() {
            $('#loading').fadeOut('normal', function () {
                $(this).remove();
            });
        }
        var pc;

        $.parser.onComplete = function () {
            if (pc) clearTimeout(pc);
            pc = setTimeout(closes, 1000);
        }
        var _menus = JSON.parse('{!! json_encode($userinfo["menus"]) !!}')
    </script>
@show